home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1984 January to June
/
Ahoy_Magazine_84-Jan-Jun_1984_Double_L.d64
/
name that star
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
10KB
|
353 lines
0 rem--ahoy--april issue--name that star--prog page 13
1 rem **** "name that star" v2.0 ****
2 rem ** designed by: bob lloret **
3 rem **** for: ahoy' magazine ****
4 rem
60 print "[147]":poke 53280,4:poke53281,7
70 print tab(8);"[149]contestants application"
80 print tab(8);"first name:";:input name$
85 print tab(8);"congratulations...";name$;","
90 print tab(8);"you have been accepted.":for d=1 to 3000:next d
100 print "[147]":gosub 880:gosub900
110 print tab(18);"[145][145][145][145][145][145][145]";a$:print tab(18);"[145]";a4$
120 gosub 1000
130 for d=1 to 1500:next d:print"[155][145][145][145][145][145]";
140 gosub 1460
170 for d=1 to 3000:next d
180 print "":gosub 1000:print tab(18);a$:print tab(18);a1$
190 print "[145][145][145][145][145][145][145][145]":gosub 1460:print tab(16);"[145], ";name$
200 for d=1 to 2500:next d:print"":gosub 1000
210 print tab(10);"[145][145][145][145][145]do you want me to":print tab(10);"explain the game"
215 print tab(10);name$;" ?"
220 print tab(18);"type y/n"
230 get by$:if by$="" then 230
240 if by$="n" then 340
250 print"":gosub 1000
260 print tab(18);a$:print tab(18);" ":print tab(18);"[145][145]";a3$
270 print "[145][145][145][145][145][145][145][145]":gosub 1460
280 get an$:if an$<>"c" then 280
290 print "":gosub 1000:print"[145][145][145][145][145][145]":gosub1460
300 get an$:if an$<>"c" then 300
310 print "":gosub 1000:print"[145][145][145][145][145][145]":gosub1460
315 get an$:if an$<>"c" then 315
320 print "":gosub 1000:print"[145][145][145][145][145][145]":gosub1460
330 get an$:if an$<>"c" then 330
340 print "":gosub 1000:print"[145][145][145][145][145][145]"
350 print tab(10);"if you're ready":print tab(10);"to go..."
360 print tab(10);" let's play":print tab(10);" name that star"
365 for d=1 to 1200:next d
370 print:print:for a=1 to 20:print tab(18);"[145]";a$:print tab(18);a5$
380 for d=1 to 50:next:print tab(18);"[145] ":print tab(18);"[145][145]";a4$
390 for d=1 to 50:next d:next a
400 print "[145]":gosub 1000
410 if by$="n" then for a=1 to 20:read junk$:next a
420 print tab(18);a$:print tab(18);"[145]";a3$:print "[145][145][145][145][145][145][145][145]"
430 print tab(10);"our first mystery":print tab(10);"name is...."
435 for d=1 to 2500:next d
440 print "":gosub 1000:goto 465
447 rem
448 rem [ **** main loop **** ]
449 rem =========================
450 if mn=40 then 750
455 print tab(10);"our next mystery":print tab(10);"name is...."
460 for d=1 to 2000:next d:print "":gosub 1000
465 n=1:g=0:mn=mn+1
470 read n$:if n>1 then 475
474 print tab(12);"[145][145][145][145][145][145][145][145][145][145][145]";n$;" ":n=n+1:goto 470
475 print ""
480 read cl$:if cl$="0" then 500
490 print tab(10);cl$:goto 480
500 g=g+1:print tab(13);"[145][145][145][145][145][145][145][145] "
505 print tab(12);"[145]";g;:inputgue$
510 if gue$=n$ then 535
520 if left$(gue$,5)=left$(n$,5) then 535
530 if gue$<> n$ then goto 590
535 sc=sc+1:print ""
540 gosub 560:gosub 1000:print tab(10);"[145][145][145][145][145]correct, ";name$
545 print tab(10);"you now have";sc:print tab(10);"correct"
550 for d=1 to 2000:next d:print "":gosub 1000:print "[145][145][145][145][145][145]"
555 goto 450
560 si=54272:for a=0 to 24:poke si+a,0:next a:poke si+24,15:poke si+6,255
565 for a=1 to 6:for z=50 to 105 step 15:poke si,z:poke si+1,z:poke si+4,17
570 next z:next a:poke si+4,16:poke si,0:poke si+1,0:return
580 rem [ *** wrong answers *** ]
585 rem =========================
590 if g>1 then 640
600 print "":gosub 1000:print tab(10)"[145][145][145][145][145]wrong,";name$
610 print tab(10);"you have 2 guesses":print tab(10);"left."
620 print tab(10);"let's try again..":print "":for d=1 to 2000:next d
630 gosub 1000:print "[145][145]":goto 500
640 if g>2 then 690
650 print "":gosub 1000:print tab(10)"[145][145][145][145][145]wrong again[129],";name$
660 print tab(10);"you have 1 guess":print tab(10);"left."
670 print tab(10);"let's try again..":print "":for d=1 to 2000:next d
680 gosub 1000:print "[145][145]":goto 500
690 print "":gosub 1000:print tab(10)"[145][145][145][145][145]i'm sorry,";name$
700 print tab(10);"but this famous":print tab(10);"person is..."
710 print tab(10);n$:print "":for d=1 to 3000:next d
720 gosub 1000:print "[145][145][145][145][145][145]":goto 450
745 rem *** closing dialogue ***
746 rem ==========================
750 print tab(10);"[158]well,";name$;", its":print tab(19);"time for us to"
760 print tab(10);"be leaving you,but":print tab(10);"before we go..."
765 for d=1 to 3000:next d
770 print "":gosub 1000:print"[145][145][145][145][145][145]":print tab(10);"[158]may i say that you"
780 print tab(10);"have been a wond-":print tab(10);"erful guest and a"
790 print tab(10);"good sport. so long"
800 for d=1 to 500:next d
810 print:print:print:for a=1 to 50:print tab(18);"[145][145]";a$:print tab(18);a1$
820 for d=1 to 100:next:print tab(18);"[145] ":print tab(18);"[145][145]";a3$
830 for d=1 to 100:next d:next a
840 end
878 rem [ ** char. assignment ** ]
879 rem ==========================
880 a$="[158] q ":a1$="[158][206]t[205]":a3$="[158][205]t[205]":a4$="[158][205]t[145][206]":a5$="[158][183]t[183]"
890 return
898 rem [ *** main screen *** ]
899 rem =======================
900 print "[147]":poke 53280,6:poke 53281,0
910 print tab(10);"[168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168]":print tab(10);"[166] [166]"
920 print tab(10);"[166] [158] name that star [166]"
930 print tab(10);"[166][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][168][166]":print spc(7);"[154]name:"
940 print spc(6);"guess:":print "[156] [168][168][168][168][168] [168][168][168][168][168] [168][168][168][168][168] [168][168][168][168][168]"
960 print tab(15);"[149] ":print tab(15);"[158] name "
970 printtab(15);" that ":printtab(15);" star ":printtab(15);"[149] "
980 return
998 rem [ ** dialogue circle ** ]
999 rem =========================
1000 print tab(8);"[129][145][145][145][145][145][145][145][213][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][201]"
1010 print tab(8);"[194] [194]"
1020 print tab(8);"[194] [194]"
1030 print tab(8);"[194] [194]"
1040 print tab(8);"[194] [194]"
1060 print tab(8);"[202][195][195][195][195][195][195][195][195][195][195][201][195][195][195][195][195][195][195][195][195][203]"
1070 return
1460 read sent$:if sent$="0" then return
1470 print tab(10);"[129]";sent$:goto 1460
1498 rem [ * opening dialogue * ]
1499 rem ========================
1500 data hello ladies and
1510 data gentlemen. welcome
1520 data to name that star.,0
1530 data let's welcome our
1540 data player,0
1550 data i will display a
1560 data famous name where
1570 data it says "name"
1580 data type c to continue,0
1590 data the name will be
1600 data jumbled so you can
1610 data not read it...
1620 data type c to continue,0
1630 data i will give you a
1640 data clue so you can
1650 data try to guess it.
1660 data type c to continue,0
1670 data you'll only get 3
1680 data tries to guess it-
1690 data otherwise you lose
1700 data type c to continue,0
1704 rem
1705 rem [ ** mystery names ** ]
1706 rem =======================
1710 data kmci ragejg,mick jagger
1720 data he's a hard person
1730 data to satisfy...
1740 data who is this famous
1750 data person ?,0
1760 data svile splerey,elvis presley
1770 data his title is king
1780 data but he has passed
1790 data who is this famous
1800 data recording star?,0
1810 data nepcers caryt,spencer tracy
1820 data his famous partner
1830 data was "kate"...
1840 data who is this famous
1850 data actor?,0
1860 data ronlam rodban,marlon brando
1870 data worked the docks
1880 data lived in paris had
1890 data italian heritage
1900 data who is he?,0
1910 data majes snares,james arness
1920 data that "things" scary
1930 data wore a six shooter
1940 data who is this famous
1950 data actor ?,0
1960 data njho yenaw,john wayne
1970 data his title was duke
1980 data sat tall in the
1990 data saddle
2000 data who is he ?,0
2010 data craegi neall,gracie allen
2020 data she was married to
2030 data her straight man
2040 data not too intelligent
2050 data who is she ?,0
2060 data abbe hurt,babe ruth
2070 data carried big stick
2080 data bulging waist line
2090 data known for records
2100 data who is this star ?,0
2110 data clareih phlanci,charlie chaplin
2120 data a derby a cane and
2130 data tails were this
2140 data man's trademark
2150 data who is he ?,0
2160 data roveli yrhda,oliver hardy
2170 data he was always in
2180 data another fine mess
2190 data name this famous
2200 data t.v. comic ?,0
2210 data keajic snogela,jackie gleason
2220 data only his size out-
2230 data weighed his comedy
2240 data who is this well
2250 data known star ?,0
2260 data dalnor granea,ronald reagan
2270 data this man's career
2280 data went from hollywood
2290 data to washington...
2300 data who is this star,0
2310 data rashnoir ofdr,harrison ford
2320 data has a state for a
2330 data first name
2340 data has a wookie for
2350 data co-pilot....,0
2360 data chougro axrm,groucho marx
2370 data smoked a big cigar
2380 data heavy eyebrows and
2390 data mustache...
2400 data who is he ?,0
2410 data kjac gulknam,jack klugman
2420 data sloppy room mate
2430 data medical examiner
2440 data loves the horses
2450 data who is this actor ?,0
2460 data yandy motsah,danny thomas
2470 data there was always
2480 data room for daddy
2490 data who is this big
2500 data nosed tv actor,0
2510 data ele jamros,lee majors
2520 data was married to an
2530 data angel- keeps on
2540 data falling
2550 data who is this star ?,0
2560 data lilb byixb,bill bixby
2570 data a hulk of a man
2580 data friendly only to
2590 data martians
2600 data who is he ?,0
2610 data rneyh lewnikr,henry winkler
2620 data his thumbs are his
2630 data trademark- his days
2640 data were always happy
2650 data who is this actor ?,0
2660 data obb rendev,bob denver
2670 data a beatnik who was
2680 data shipwrecked on an
2690 data island...
2700 data who is he ?,0
2710 data bor neerir,rob reiner
2720 data his father-in-law
2730 data called him meathead
2740 data father's name carl
2760 data who is he ?,0
2770 data honj thorsyfe,john forsythe
2780 data his bachelorhood
2790 data led to a dynasty
2800 data who is this famous
2810 data tv actor ?,0
2820 data raym terly roemo,mary tyler moore
2830 data rhoda's best friend
2840 data rob's wife
2850 data famous tv and movie
2860 data actress ?,0
2870 data vaing domlace,gavin macleod
2880 data loves his boat
2890 data worked for lou
2900 data who is this well
2910 data known tv actor,0
2920 data nomded winslo,demond wilson
2930 data his lazy father
2940 data built a junk empire
2950 data this tv actor was
2960 data also very odd,0
2970 data treep klaf,peter falk
2980 data his raincoat was a
2990 data trademark...looked
3000 data from one side
3010 data a famous movie star,0
3020 data olu stolleco,lou costello
3030 data never knew the
3040 data names of the base-
3050 data ball team... who
3060 data was this star ?,0
3070 data chridar seydurfs,richard dreyfuss
3080 data looked at a large
3090 data set of jaws- had a
3100 data close encounter
3110 data a famous actor,0
3120 data neordal yinom,leonard nimoy
3130 data a starship was his
3140 data enterprise-his
3150 data touch paralyzing
3160 data a famous actor,0
3170 data lytle lavsaas,telly savalas
3180 data a bald detective
3190 data loved a lollipop
3200 data greek heritage..who
3210 data is this actor ?,0
3220 data honj lavratto,john travolta
3230 data ran a high temp.
3240 data on sat. night but
3250 data stayed alive
3260 data who is he ?,0
3270 data chamiel nodnal,michael landon
3280 data went from a large
3290 data ranch to a little
3300 data house...who is this
3310 data famous actor ?,0
3320 data honnjy rosnac,johnny carson
3330 data sidekicks doc & ed
3340 data helped get him
3350 data through tonight
3360 data who is he ?,0
3370 data tnicl sootdawe,clint eastwood
3380 data a monkey was his
3390 data pal-this tough guy
3400 data was never clean
3410 data who is this star,0
3420 data rosbi falkrof,boris karloff
3430 data this monster of an
3440 data actor was the first
3450 data of his breed
3460 data who is he ?,0
3470 data pousy lases,soupy sales
3480 data his straight man
3490 data was fang..loved to
3500 data receive pies
3510 data who is he ?,0
3520 data kimecy smueo,mickey mouse
3530 data walt's favorite
3540 data character although
3550 data he wasn't goofy
3560 data who is he ?,0
3570 data nobir liamswil,robin williams
3580 data he was out of this
3590 data world but mindy
3600 data loved him..who is
3610 data this actor ?,0
3620 data rawhod clesol,howard cosell
3630 data a wig and mouth are
3640 data his trademarks...
3650 data very sarcastic
3660 data who is he ?,0
3670 data repry mooc,perry como
3680 data lots of letters
3690 data were received for
3700 data this crooner
3710 data who is he ?,0